package com.bjtang.upload.controller;

import java.io.File;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/")
public class UploadController {

	@GetMapping("hello")
	public String hello() {
		return "hello word";
	}

	@GetMapping("cx")
	public String cx() {
		return "";
	}

	@GetMapping("cxname/{age}")
	public File cxname(@PathVariable int age) {
		return null;
	}

}
